{include file="header.tpl" title="Duyet sysparm "}
<form action="" method="post" name="sanpham" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="67%" colspan="2" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  
  <tr>
    <td width="25%">{$lbl_WUCODE}</td>
    <td colspan="3" style="color:#FF0000"><input name="WUCODE" id="WUCODE" type="text" style="background:{$colorWUCODE}" value="{$WUCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'enabled' } readonly="readonly" {/if}/>
*
    <input type="button" onclick="mywindow = window.open('par_wumercid_id.php?name=WUCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MERC_ID}</td>
    <td style="color:#FF0000" colspan="3" nowrap="nowrap"><input name="MERC_ID" id="MERC_ID" type="text" style="background:{$colorMERC_ID}" value="{$MERC_ID}" size="30" maxlength="50" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'enabled' } readonly="readonly" {/if}/>
*
  <input id="replacement_find" type="submit" name="find" value="    "  height="15"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MERC_NAME}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="MERC_NAME" id="MERC_NAME" type="text" style="background:{$colorMERC_NAME}" value="{$MERC_NAME}" size="50" maxlength="255" readonly="readonly" />
*</span></td>
  </tr>
  <tr>
    <td>{$lbl_EFFDATE}</td>
    <td colspan="3"><input name="EFFDATE" type="text" id="EFFDATE" style="background:{$colorEFFDATE}" value="{$EFFDATE}" size="25" readonly="readOnly" /></td>
  </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_BRNCODE}</td>
     <td colspan="3"><input name="BRNCODE" id="BRNCODE" type="text" style="background:{$colorBRNCODE}" value="{$BRNCODE}" size="20" maxlength="10" onkeypress="return numberOnly(event);"  readonly="readonly"/></td>
    </tr>
   <tr>
     <td nowrap="nowrap">{$lbl_DEPTCD}</td>
     <td colspan="3"><select id="DEPTCD" name="DEPTCD" size="1" disabled="disabled">
              
 		{foreach from=$cbo_DEPTCD key=k item=v}	          
      
       <option value="{$k}" {if $DEPTCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
       
 		{/foreach}	         
    
     </select>
     </td>
   </tr>
   
   <tr>
     <td nowrap="nowrap">{$lbl_REMARK}</td>
     <td colspan="3"><input name="REMARK" type="text" id="REMARK" style="background:{$colorREMARK}" value="{$REMARK}" size="50" maxlength="255" readonly="readonly" /></td>
   </tr>
   
   <tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
   <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'WUCODE-MERC_ID');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
<td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_wumercid.php?WUCODE={$WUCODE}&MERC_ID={$MERC_ID}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
